import {connect} from 'react-redux'
import Regist from '../../../components/mine/regist/index'
import {subMit} from "../../../action/index"
const mapStateToProps=state=>{
    return{
        users:state.users
    }
}

const mapDispatchTopProps=dispatch=>{
    return{
        subMit(obj){
            dispatch(subMit(obj))
        }
    }
}

export default connect(mapStateToProps,mapDispatchTopProps)(Regist)